.wrapper {
  padding-top: calc(env(safe-area-inset-top) + 44px);
}

.common-container {
  width: calc(100% - 32px);
  margin: 0 auto;
}

.flex {
  display: flex;
}

/* 在全局样式文件中 */
.custom-search-bar .at-search-bar__action {
  display: none !important;
}

.custom-search-bar .at-search-bar__placeholder-wrap {
  justify-content: start;
}

.custom-search-bar::after {
  display: none;
}

.at-tabs__underline {
  background-color: #fff;
}

.at-search-bar__input-cnt {
  border-radius: 0 !important;
}

.at-search-bar__placeholder-wrap .at-icon {
  color: #111 !important;
  font-size: 14px !important;
}

//公共搜索框样式结束
//tabbar样式开始
.common-tab {
  position: relative;
  display: flex;

  .at-tabs__header {
    position: fixed;
    // top: calc(env(safe-area-inset-top) + 90px);
    height: 44px;
    background-color: #FFF;
    padding: 0;
    margin: 0;
    z-index: 99;

    .at-tabs__item--active {
      font-size: 18px !important;
      font-weight: 700;
      color: rgba(0, 0, 0, 0.9) !important;
    }

    .at-tabs__item {
      flex: 1;
      font-size: 14px;
      // padding: 5px 0 !important;
      height: 44px;
      line-height: 44px;
      float: left;
      padding: 0 !important;
      color: rgba(0, 0, 0, 0.8);
      font-weight: bold;
    }

    .at-tabs__item-underline {
      height: 6px;
      width: 72px;
      text-align: center;
      background-color: transparent !important;
      background-position: -22px 0;
      background-image: url('https://file.linkcook.cn/image/wineMiniProgram/home/underline.png');
      left: 22px;
      bottom: 4px;
      background-size: contain;
    }
  }

  // .at-tabs__body {
  //   top: calc(130px + env(safe-area-inset-top));
  //   position: relative;
  // }
}

.input-placeholder {
  color: rgba(0, 0, 0, 0.3) !important;
}

//tabbar样式结束

.at-search-bar__input-cnt {
  border-radius: 0 !important;
}

/* 隐藏右侧按钮区域的分隔线 */
.custom-search-bar .at-search-bar::after {
  display: none;
}

.home-common-list {
  .brand-icon {
    width: 14px;
    height: 16px;
    display: inline-block;
    vertical-align: super;
    margin: 1px 4px 1px 8px;
  }

  .brand-name {
    height: 30px;
    line-height: 30px;
    vertical-align: top;
  }
}

// 公共角标图片数开始
.home-subscript {
  position: absolute;

  padding: 4px 5px 4px 4px;
  background-color: rgba(0, 0, 0, 0.6);
  right: 4px;
  bottom: 8px;
  color: #fff;
  font-size: 12px;

  image {
    width: 13px;
    height: 11px;
  }

  .home-subscript-text {
    color: #fff !important;
    margin-left: 5px;
  }
}

// 公共角标图片数结束

:root::-webkit-scrollbar {
  display: none;
}

:root {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* 启用平滑滚动（iOS） */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

.user-center-mobile-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid#C4C4C4;
  margin-left: 24px;
}

.user-center-mobile,
.user-center-navigate {
  width: 15px;
  height: 15px;
  vertical-align: -webkit-baseline-middle;
  left: 10px;
  position: relative;

}


// 公共按钮样式
.common-btn {
  display: flex;
  margin-top: 30px;
  padding-bottom: 24px;
  margin-bottom: env(safe-area-inset-bottom);

  .common-btn-refuse {
    flex: 1;
    margin-right: 16px;
    border: none;
    background-color: #F4F4F4;
    border-radius: 0 !important;
    color: rgba(0, 0, 0, 0.9);
  }

  .common-btn-refuse::after {
    border-radius: 0 !important;
    border: none;
  }

  .common-btn-agree {
    flex: 3;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 0;
    color: #fff;
  }
}

.bottom-container {
  height: 34px;
  width: 100%;
}

//最多显示1/2/4行开始
.clamp1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clamp2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clamp4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clamp5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
}

//最多显示2行结束

.margibBottom2 {
  margin-bottom: 2px;
}

//导航栏
.custom-left {
  .title-bar {
    position: relative;

    .tb-center {
      position: absolute;
      left: 50%;
      transform: translate(-50%);
    }
  }
}

.at-search-bar__input {
  caret-color: #BB8049 !important;
}

.at-icon-search {
  background: url('https://file.linkcook.cn/image/wineMiniProgram/home/search.png');
  background-repeat: no-repeat;
  background-size: 100%;
  width: 14px;
  height: 14px;
  display: inline-block;
  font-weight: normal;

}

.at-icon-search::before {
  font-size: 0;

}